<?php

namespace app\test1\allocations;

use app\test1\model\User;

class UserInfo
{
    public function getUser()
    {
        $res = model(User::class)->allUsers();
        return json($res);
    }

    public function hello($name = 'ThinkPHP5')
    {
        return '你好呀,傻逼' . $name;
    }
}
